<script src="../asynx.js"></script>
<script src="../dom/dom.js"></script>
<script src="../impl/array.js"></script>
<script src="../impl/util.js"></script>
<script src="../impl/cookie.js"></script>
<script src="../impl/ajax.js"></script>
<script src="../impl/anim.js"></script>
<script src="../impl/drag.js"></script>
<script src="../impl/lang.js"></script>
<script src="../dom/xpath.js"></script>
<script src="../dom/selector.js"></script>
<script src="../event/event.js"></script>
<script src="../plugins/datalist/datalist.js"></script>

<div id="log">LOG</div>

<div id="container"></div>

<script>

var json = [
	[ {text:"sdfsfsdfsdf"} ],
	[ {text:"sdfsfsdfsdf"} ],
	[ {text:"sdfsfsdfsdf"} ],
	[ {text:"sdfsfsdfsdf"} ],
	[ {text:"sdfsfsdfsdf"} ],
	[ {text:"sdfsfsdfsdf"} ]
];

var DS = new asynx.datalist.DataSourceJSON(json);
DS.maxResults = 10;
DS.cache = true;

var DS2 = new asynx.datalist.DataSourceJSON(json);
DS2.maxResults = 20;
DS2.cache = true;

var DSA = new asynx.datalist.DataSourceAJAX("datalist.php", "json");
DSA.maxResults = 10;
DSA.cache = true;

DSA.doQuery("a");
DSA.doQuery("ab");
DS.doQuery("ff");
DS2.doQuery("2");
DS2.doQuery("22");


/*var dl = new asynx.datalist({
	container: 'container',
	fastRender: true,
	gridLayout: true,
	data: DSAjax
});

dl.onColumnClick = function(c) {
	log(c)
}

dl.create();*/

</script>